Repository navigation
Honor Vuforia rate-limit delays in fixture retries - #3770
Merged
Merged
Conversation
adamtheturtle
temporarily deployed
to
development
October 16, 2026 09:52 — with
GitHub Actions
Inactive
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
adamtheturtle
had a problem deploying
to
vuforia
October 16, 2026 10:06 — with
GitHub Actions
Failure
# Conflicts: # tests/mock_vws/fixtures/vuforia_backends.py
# Conflicts: # tests/mock_vws/fixtures/api_contract.py
This was referenced Oct 26, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Real Vuforia fixture retries used a fixed ten-second delay for HTTP 429 responses. Use urllib3's
Retry.parse_retry_after()for delay-seconds and HTTP-date values; otherwise use exponential full jitter capped at 30 seconds. Schedule at most ten transient attempts within 120 seconds, and surface the original exception and response when another attempt cannot fit the server's requested delay.Set urllib3's delay cap above the retry budget so capped delays cannot cause early retries. Invalid headers fall back to jitter; parser overflow stops retry scheduling with the original Vuforia error.
The real backend installs this policy before its initial cleanup. Shared helpers execute once by default, restore preceding policies after nested scopes and failures, and prevent nested transient retry loops from multiplying the attempt budget. Retry logs include attempt, exception type, status and delay without request credentials. Requests or SDK processing polls already in flight retain their own timeout; the deadline governs retry scheduling.
Fixes #3768. Depends on #3769 and targets its branch so this diff contains only the backoff and policy changes.
No new test files or dependencies are added. The live-service retry callbacks are excluded from coverage; the custom HTTP parser has been removed.
Validation:
git diff --checkpassed.Live-service and Docker validation remain with hosted CI. Backoff cannot guarantee recovery from persistent upstream throttling.